package com.zh.transport;

import java.util.Date;

/**
 * @description:
 * @author: zhangHang
 * @date: Created in 2020/5/16 10:33
 * @version: 1.0
 * @modified By:
 */
public abstract class Transport {
    private String ownership;
    private String price;
    private String GpsPosition;
    private String id;
    private Date dateOfPurchase;
    public Transport(){

    }

    public Transport(String id){
        this.id=id;
    }
    public abstract void drivingMethod();
    public abstract void maintain();
    public abstract void addGas();
    public abstract void load();

}
